package com.tanguy.user.ui.trip.activity.adapter

import android.view.View
import com.tanguy.user.R
import com.tanguy.user.base.JustAdapter
import com.tanguy.user.bean.station.CityBean
import com.tanguy.user.utlis.extend.setText

/**
 * Created by dab on 2017/11/21 0021 14:13
 */
class CityServiceAdapter(data: ArrayList<CityBean>) : JustAdapter<CityBean>(data, R.layout.item_city_service) {
    override fun bind(itemView: View, data: CityBean, position: Int) {
        itemView.apply {
            setText(R.id.tv_title, data.name)
        }

    }


}